/* 遮罩层样式 */
.popup-mask {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/* 弹出层内容样式 */
.popup-content {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80%;
    background-color: #fff;
    border-radius: 20rpx;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.3);
}

.popup-show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

/* 头部样式 */
.popup-header {
    padding: 20rpx 30rpx;
    border-bottom: 2rpx solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    font-size: 32rpx;
    font-weight: bold;
    color: #333;
}

.popup-close {
    font-size: 50rpx;
    color: #999;
    padding: 0 20rpx;
}

/* 内容区域样式 */
.popup-body {
    padding: 40rpx;
    max-height: 60vh;
    overflow-y: auto;
}

/* 底部按钮区域 */
.popup-footer {
    display: flex;
    justify-content: flex-end;
    padding: 20rpx 30rpx;
    border-top: 2rpx solid #eee;
    gap: 20rpx; 
}
.popup-btn {
    padding: 2rpx 20rpx; 
    border-radius: 8rpx;
    font-size: 28rpx;
    margin: 0; 
}
.popup-btn.cancel {
    background-color: #efefef;
    color: #333; 
}
.popup-btn.confirm {
    background-color: rgb(64,158,255); 
    color: #fff;
}

.popup-btn.confirm:active {
    background-color: rgb(121,187,255); 
    color: #ddd;
}

.popup-btn.cancel:active {
    background-color: rgb(236,245,255);
    color: rgb(64,158,255);
}